home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 11: TSX-11 / Linux Cubed Series 11 - TSX-11 Vol 1.iso / usr.bin / lpr.rea < prev    next >
Text File  |  1996-11-30  |  1KB  |  40 lines

  1. This is a full port of the Berekely lpr/lpd print spooling/remote
  2. printing system.  I believe someone else did an earlier port, but I
  3. could not find it.  It requires kernel tcp (inet sockets.).  I've
  4. added slightly to the printcap format to give people with serial
  5. printers more control over termios.  These are the relevant changes
  6.  
  7.     br - Baudrate (set first.)
  8.  
  9.     fc \  
  10.     fs /   oflags clear and set.
  11.  
  12.     xc \
  13.     xs /   lflags clear and set.
  14.  
  15.     ic \
  16.     is /  iflags clear and set.
  17.  
  18.     cc \
  19.     cs /  cflags clear and set
  20.  
  21. The printcap.5 man page should describe the format of the rest.
  22.  
  23. lpd, lpc, pac, and printcap are in /etc.
  24.  
  25. hosts.equiv and hosts.lpd are in /etc.
  26.  
  27. lprm, lpq, and lptest should all be setuid daemon.
  28. lpr currently needs to be suid root, and has not been
  29. check for security holes.
  30. /usr/spool/lp1 should be owned by daemon group daemon with permission 0660.
  31.  
  32. As packaged you should have a set up for a parallel printer named lp
  33. on /dev/lp1 with the spool file /spool/lp1 and a serial printer named
  34. serlp on /dev/ttyS0 with spool file /spool/serlp.  You will need to
  35. add the line /etc/lpd to your /etc/rc file.
  36.  
  37. The filter /usr/lib/hpof is a filter for HP PCL printers which maps
  38. NL -> CR + NL.
  39.  
  40. Full source is available via anon-ftp from gatekeeper.dec.com.